package com.six.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@TableName("users")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
public class User {
    private Long id;
    private String username;
    private String passwordHash;   // 已 BCrypt
    private String email;
    private String phone;
    private Integer roleId;
    private Boolean isActive;
    private LocalDateTime createdAt;
    private Long storeId;
    private String storeName;
}
